package com.gitee.wsl.transform.validator.annotation

sealed class ValidatorResult {
    data object Valid : ValidatorResult()

    data class Invalid(val message: String) : ValidatorResult()

    fun isValid() = this is Valid

    fun isInvalid() = this is Invalid
}